//
//  baseView.m
//  footBoll
//
//  Created by zhoubaitong on 2017/10/12.
//  Copyright © 2017年 cckv. All rights reserved.
//

#import "baseView.h"

@interface baseView()<UIDynamicAnimatorDelegate,UICollisionBehaviorDelegate>

@end

@implementation baseView

#pragma mark - lazy
- (UIDynamicAnimator *)animator{
    if (!_animator) {
        _animator = [[UIDynamicAnimator alloc]initWithReferenceView:self];
        _animator.delegate = self;
    }
    return _animator;
}

- (void)back
{
    if ([self.delegate respondsToSelector:@selector(clickBackButton)]) {
        [self.delegate clickBackButton];
    }
}

- (void)reload
{
    
}

@end
